package com.mongo.service;

import com.mongo.entity.User;
import com.mongodb.client.result.UpdateResult;

/**
 * @author yuhuan
 * @date 2025/4/18
 */
public interface MongoService {

    UpdateResult save(User user);

    User add(User user);

    UpdateResult edit(User user);
}
